/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package setor;

/**
 *
 * @author PauloM
 */
public class SetorJaCadastradoException extends Exception{

    private String message = "Setor Já Cadastrada!";
    
    
    public SetorJaCadastradoException(Throwable cause) {
        super(cause);
    }

    public SetorJaCadastradoException(String message, Throwable cause) {
        super(message, cause);
    }

    public SetorJaCadastradoException(String message) {
        super(message);
    }

    public SetorJaCadastradoException() {
        
    }
     
     @Override
            
     public String getMessage(){
        
        return this.message;
    
    }
   
    
  
    
}
